import renting from "../../models/Renting"
Page({

  data: {
      userinfo:{}
  },

  onLoad(options) {
    // 远程获取数据
    renting.getUserInfo().then(ret=>{
      console.log(ret);
      this.setData({
        userinfo:ret.data.data
      })
    })
  },
})